Skip to content

Allow new_1d to take ndarrays#350

Merged
inducer merged 1 commit intoinducer:mainfrom
alexfikl:type-obj-new-1d
Mar 13, 2026
Merged

Allow new_1d to take ndarrays#350
inducer merged 1 commit intoinducer:mainfrom
alexfikl:type-obj-new-1d

Conversation

@alexfikl
Copy link
Contributor

This adds an overload for the specific case of ndarray to new_1d. The existing Sequence couldn't catch that (and also won't catch shape / dtype anyway).

@inducer inducer merged commit f6395af into inducer:main Mar 13, 2026
16 checks passed
@inducer
Copy link
Owner

inducer commented Mar 13, 2026

Thx!

@alexfikl alexfikl deleted the type-obj-new-1d branch March 13, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants